/************************************************************************

								Heroes IV
					  Copyright 2002, The 3DO Company

	------------------------------------------------------------------
  						       army_dialog_garrison.h

	$Header: $

	$NoKeywords: $

 ************************************************************************/

#ifndef ARMY_DIALOG_GARRISON_H_INCLUDED
#define ARMY_DIALOG_GARRISON_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "army_dialog_base.h"

class t_ownable_garrisonable_adv_object;

// -----------------------------------------------------------------------
// dialog to manipulate the army in a garrison or mine
// -----------------------------------------------------------------------
class t_army_dialog_garrison : public t_army_dialog_base
{
	public:
		t_army_dialog_garrison( t_ownable_garrisonable_adv_object* garrison, t_army* adjacent_army,
								t_adventure_frame* adventure_frame,	
								t_creature_array * selected_army = NULL, int selected_slot = -1 );

	protected:
		virtual void			get_artifact_pile_position( t_adv_map_point & point, t_counted_ptr< t_adv_artifact_pile > & pile );
		virtual bool			is_restricted( bool visiting_army ) const;

		t_ownable_garrisonable_adv_object * m_garrison;
};


#endif // ARMY_DIALOG_GARRISON_H_INCLUDED